<?php
class User_Model {
	
	private $user;
	
	public function __construct(){
		$this->user = new User_Library;
	}
	
	public function check_user($user, $password){
		if($$this->user->look_user($user, $password) != NULL){
			return TRUE;
		}
		else {
			return FALSE;
		}
	}
	
	public function get_user_data($user, $password){
		$user_data = $this->get_user_data($user, $password);
		return $user_data;
	}
}